<?php
/*******************************************************************************

	UCMS 接口配置

	author: scumyang@gmail.com
	create: 2016-01-28
	remark:

*******************************************************************************/

// 配置
$apiConf = new stdClass();
$apiConf->radiusWSDL = 'http://115.159.27.30:20096/wibox_auth/service/innerService?wsdl';
$apiConf->radiusTimeout = 10;

global $WEBAPP;
$WEBAPP->attr( 'airAuth_Conf', $apiConf );

//define( "OPG_AUTH_MEDIA_FILE", "./WebAssets/bas_media.db" );
//define( "OPG_AUTH_THROW_FIGUREIT", "0" );

define( "BAS_PARAM_GW_ID", "gw_id" );			// 网关 MAC, 如 '00d011223344'
define( "BAS_PARAM_GW_SN", "gw_sn" );			// 网关 SN, 如 '1234942570128'
define( "BAS_PARAM_GW_ADDR", "gw_address" );	// 网关 IP, 如 '192.168.1.1'
define( "BAS_PARAM_GW_PORT", "gw_port" );		// 网关 WiFiDog Port, 如 '2060'

define( "BAS_PARAM_USER_IP", "ip" );			// 终端 IP
define( "BAS_PARAM_USER_MAC", "mac" );			// 终端 MAC
define( "BAS_PARAM_USER_URL", "url" );			// 终端 URL
define( "BAS_PARAM_SSID", "ssid" );				// 终端 AP SSID

//define( "GW_ADDR", "192.168.100.1" );
//define( "GW_PORT", "2060" );

//define( "BAS_ADDR", "192.168.100.1" );
//define( "BAS_PORT", "2000" );

define( "RADIUS_ADDR", "http://api.d2class.com/airAuth" );
define( "RADIUS_PORT", "80" );

?>
